All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.io.QTIOException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----quicktime.QTException
                           |
                           +----quicktime.io.QTIOException

public class QTIOException
extends QTException
A General catch all class that is used to signal errors that occur from QT calls


Constructor Index

 o QTIOException(int, String)
Creates an exception with a specific error number
 o QTIOException(String)
Creates an exception with a string representation.

Method Index

 o checkError(int, String)
This method will throw an exception if the incoming err argument is a non-zero value.
 o getFilePath()
Returns the path of the file that caused the exception to be thrown

Constructors

 o QTIOException
 public QTIOException(String fName)
Creates an exception with a string representation.

Parameters:
the - fName that generated the exception
 o QTIOException
 public QTIOException(int val,
                      String fName)
Creates an exception with a specific error number

Parameters:
val - the error number
the - fName that generated the exception

Methods

 o checkError
 public static void checkError(int err,
                               String fName) throws QTIOException
This method will throw an exception if the incoming err argument is a non-zero value.

Parameters:
err - the result or error code if non-zero an exception is thrown
 o getFilePath
 public String getFilePath()
Returns the path of the file that caused the exception to be thrown

Returns:
a file path

All Packages  Class Hierarchy  This Package  Previous  Next  Index